Feng.addCtx("${ctxPath}");
Feng.sessionTimeoutRegistry();
var bt = document.getElementById("bt");
var div_print = document.getElementById("div_print");
bt.onclick = function () {//打印代码
    printdiv(div_print);
    parent.layer.close(parent.layer.getFrameIndex(window.name));
};
function printdiv(printpage) {
    var newstr = printpage.innerHTML;
    var oldstr = document.body.innerHTML;
    document.body.innerHTML = newstr;
    window.print();
    document.body.innerHTML = oldstr;
    return false;
};